Previous | Next

# nouns

    echo -n "Would you like to play a game? "
    read x

    x=`echo $x | sed 's/[^-a-z0-9]//g'`

    if [ -f /usr/games/$x ] ; then
    	tput clear
    	exec /usr/games/$x
    else
    	echo How about a nice game of
    	ls /usr/games
    	exec cat <<QUOTE
    A strange game.
    The only winning move is
    not to play.
    QUOTE
    fi
    exit 0

Nouns can be file names, strings to print out, numbers or lots of other things.

Something operated on by a verb.